package com.ruoyi.outpatient.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人档案对象 t_medical_cost_person_archives
 * 
 * @author yyj
 * @date 2022-01-03
 */
public class MedicalCostPersonArchives extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者id */
    private String id;

    /** 患者名字 */
    @Excel(name = "患者名字")
    private String name;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long age;

    /** 患者身份证 */
    @Excel(name = "患者身份证")
    private String code;

    /** 患者性别
 */
    @Excel(name = "患者性别 ")
    private String sex;

    /** 门诊卡信息信息 */
    private List<MedicalCostOutpatientInfo> medicalCostOutpatientInfoList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public List<MedicalCostOutpatientInfo> getMedicalCostOutpatientInfoList()
    {
        return medicalCostOutpatientInfoList;
    }

    public void setMedicalCostOutpatientInfoList(List<MedicalCostOutpatientInfo> medicalCostOutpatientInfoList)
    {
        this.medicalCostOutpatientInfoList = medicalCostOutpatientInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("code", getCode())
            .append("sex", getSex())
            .append("medicalCostOutpatientInfoList", getMedicalCostOutpatientInfoList())
            .toString();
    }
}
